<table>
    <tbody>
        <tr>
            <td><a href="<?php echo base_url(); ?>assets/img/avatars/<?php echo $user_id; ?>.jpg"><img class="avatar" alt="" src="<?php echo base_url(); ?>assets/img/avatars/<?php echo $user_id; ?>.jpg" /></a></td>
            <td>
                <p class="strong"><?php echo $title; ?></p>
                <p>Today's Expenses: Rp <?php echo $today; ?></p>
                <p>Total: Rp <?php echo $total; ?></p>
            </td>
        </tr>
    </tbody>
</table>
<div id="details">
    <?php echo $table; ?>
</div>
<p class="pagination"><?php echo $pagination; ?></p>
